import http from '@/utils/Httprequest';

export default {
	tableFetchData ({url,method ='post',data}) {
		return http({
			url,
			method,
			data
		});
	},
	fileupload (formData,onUploadProgress) {
		return http({
			url : '/upload',
			formData : formData,
			onUploadProgress : onUploadProgress
		});
	}
};
